<?php

use PackageSpy\PackageInfo;
/**
 * Homepage presenter.
 */
class LoggedHomepagePresenter extends LoggedPresenter0
{

	//FIXME premistit, zrusit
	public function actionSendTestMail()
	{
		$packageInfo = new PackageInfo();
		$packageInfo->setTestProp("testovací cosik");
		$this->context->mailInfoService->sendMailPackageStatusChanged($packageInfo);
		$this->flashMessage('Mail sent.');
		$this->redirect('LoggedHomepage:');
	}

}
